/*
 * @(#)DmsStorageLocationResolver.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.dms.core;

import java.sql.Connection;

import com.dcivision.dms.bean.DmsRoot;
import com.dcivision.framework.ApplicationException;
import com.dcivision.framework.SessionContainer;

/**
 * <p>Class Name:       DmsStorageLocationResolver.java    </p>
 * <p>Description:      This class is providing an interface for all kind of method on storage location implementations.</p>
 * @author              Zoe Shum
 * @company             DCIVision Limited
 * @creation date       05/08/2003
 * @version             $Revision: 1.4 $
 */

public interface DmsStorageLocationResolver {

  /* Input the User Record ID to retrieve the personal location storage ID */
  public abstract Integer resolvePersonalStorageLoc(Integer userRecordID, SessionContainer sessionContainer, Connection conn) throws ApplicationException;

  /* Get the public location storage ID */
  public abstract Integer resolvePublicStorageLoc(DmsRoot dmsRoot, SessionContainer sessionContainer, Connection conn) throws ApplicationException;

}